package api

import (
	"gitee.com/kristas/booting-go/framework"
	"gitee.com/kristas/booting-go/framework/core/statement/types"
	"gitee.com/kristas/booting-go/framework/web"
)

func init() {
	framework.Component(new(StaticController))
}

type StaticController struct {
	types.FsController `group:"/static" compile:"false"`
	test               web.FS `url:"/apis"`
}

func (c *StaticController) Test() string {
	return "resources/apis.html"
}
